﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using BCL.Entity;

namespace Azad
{

    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "ISilverlightService" in both code and config file together.
    [ServiceContract]
    public interface ISilverlightService
    {
        [OperationContract]
        int Activate(int logoInformationId);

        [OperationContract]
        int Inactivate(int logoInformationId);

        [OperationContract]
        int Save(LogoInformation logoInformation);

        [OperationContract]
        int Update(LogoInformation logoInformation);

        [OperationContract]
        LogoInformation Get(int Id);

        [OperationContract]
        LogoInformation GetByCurrentId(DateTime? currentDate, bool isPreview);

        [OperationContract]
        List<LogoInformation> Search(DateTime? currentDate, int? menuId = null, int to = 0, int from = 1000);

        [OperationContract]
        List<LookUp> GetMenu();

        [OperationContract]
        bool AlreadyExist(DateTime currentDate);

        [OperationContract]
        List<LookUp> GetTopMenu();

    }
}